<?php
$id=$_GET['id'];
$connect=@mysql_connect('localhost','root','123456');
$sql='use guanli';
mysql_query($connect,$sql);

$sql="delete from shuju where id=$id";
$rs=mysql_query($sql,$connect);


if(!$rs){
	echo 'fault';
	print_r(mysql_error());
	exit;
}else{
	echo 'success';
	exit;
}

?>